package com.hzit.bj1804.dianordermanagementwutongservice.dao;

import com.hzit.bj1804.dian.entity.Productinfo;

import java.util.List;

public interface ProductinfoDAO {
    int deleteByPrimaryKey(Integer productid);

    int insert(Productinfo record);

    int insertSelective(Productinfo record);

    Productinfo selectByPrimaryKey(Integer productid);

    int updateByPrimaryKeySelective(Productinfo record);

    int updateByPrimaryKeyWithBLOBs(Productinfo record);

    int updateByPrimaryKey(Productinfo record);
    //查询所有商品
    List<Productinfo> selectByAll();
}